package com.xunlai.infra.permission.business.dao.entity;

import com.xunlai.infra.permission.storage.entity.BaseEntity;
import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author liang
 * @date 8/2/23 3:39 PM
 */
@Table("travel_route_info")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RouteInfo extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 5196111055062680378L;

    @Id
    private Long id;

    private String routeName;

    private Long routeTemplate;

    private String templateName;

    private Long routeSubject;

    private String subjectName;

    private Long routeType;

    private String typeName;

    private String routeStart;

    private String routeDestination;

    private String routeVehicles;

    private Integer routeRepastFloor;

    private Integer routeRepastLimit;

    private Long routeDesignerId;

    private String routeDesigner;

    private String routeDesignerName;

    private String routeDesignerMobile;

    private String routeDesignerWxUri;

    private String routeLeaveVehicle;

    private String routeLeaveFrom;

    private String routeLeaveTo;

    private String routeBackVehicle;

    private String routeBackFrom;

    private String routeBackTo;

    private String routeVideo;

    private BigDecimal routeDay;

    private Boolean valid;

    private String routeNo;

    private LocalDateTime routeScheduleStart;

    private LocalDateTime routeScheduleEnd;

}
